package xyx.ysfwpt.service;

import org.springframework.stereotype.Service;
import xyx.ysfwpt.dao.InputListDao;
import xyx.ysfwpt.model.InputList1;
import xyx.ysfwpt.model.InputList2;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service("InputListService")
public class InputListServiceImpl implements InputListService{
    @Resource
    InputListDao inputListDao;

    @Override
    public List<InputList1> selectClinicalTitle() {
        return inputListDao.selectClinicalTitle();
    }

    public List<InputList1> selectTeachingTitle() {
        return inputListDao.selectTeachingTitle();
    }

    public List<InputList2> selectDepartment() {
        return inputListDao.selectDepartment();
    }

    public List<InputList1> selectUserType() {
        return inputListDao.selectUserType();
    }

    public List<InputList1> selectUserSource() {
        return inputListDao.selectUserSource();
    }

    public List<InputList1> selectUserState() {
        return inputListDao.selectUserState();
    }

    public InputList1 selectUserStateById(int id) {
        return inputListDao.selectUserStateById(id);
    }

    public InputList2 selectDirectorByName(String name) {
        return inputListDao.selectDirectorByName(name);
    }

    public List<InputList1> selectOrderSource() {
        return inputListDao.selectOrderSource();
    }

    public List<InputList1> selectOfflineOrderState() {
        return inputListDao.selectOfflineOrderState();
    }

    public InputList1 selectOfflineOrderStateById(int id) {
        return inputListDao.selectOfflineOrderStateById(id);
    }

    public List<InputList1> selectOnlineOrderState() {
        return inputListDao.selectOnlineOrderState();
    }

    public InputList1 selectOnlineOrderStateById(int id) {
        return inputListDao.selectOnlineOrderStateById(id);
    }

    public List<Map> selectPleasant() {
        return inputListDao.selectPleasant();
    }

    public List<Map> selectManufacturer(){
        return inputListDao.selectManufacturer();
    }

}
